package com.arcsoft.crud.limitNumber.instance;

import com.arcsoft.crud.Constants.Global;
import com.arcsoft.crud.limitNumber.base.BenchmarkBase;
import com.arcsoft.crud.limitNumber.task.SelectMultipleTask;

public class SelectMultipleTestInstance extends BenchmarkBase{
	
	//private static final int PRINT_INTERVAL_SECONDS = 10;//多少秒打印一次日志，类似于tpcc，暂时没用

	public SelectMultipleTestInstance() {
		super(Global.THREAD_COUNT,Global.LOOP_COUNT);
	}

	@Override
	protected Runnable getTask(int index) {
		return new SelectMultipleTask(index, this, Global.PRINT_INTERVAL_SECONDS, loopCount, Global.DEFALUT_TABLE_TASK_LOG);
	}

}
